home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 76
/
XENIATGM66.iso
/
Indiana Jones
/
Indiana Jones.exe
/
RESOURCE
/
PREVIEW.GOB
/
cog_sol_goodkid.cog
< prev
next >
Wrap
Text File
|
1999-11-15
|
918b
|
47 lines
# Jones 3D Cog Script
#
# SOL_GoodKid.cog
#
#
# [TRM]
#
# (C) 1999 LucasArts Entertainment Co. All Rights Reserved
# ========================================================================================
symbols
message activated
thing player local
thing t_GoodKid
sound snd_Line=tm06j01.wav local
int playing=0 local
end
# ========================================================================================
code
activated:
player = GetLocalPlayerThing();
Sleep(0.1);
if((GetSenderRef() == t_GoodKid) && (playing == 0))
{
playing = 1;
PlayVoice(player, snd_Line, 1.0, 1);
Sleep(0.25);
playing = 0;
}
return;
# ========================================================================================
end